public class Phone {
    public String brand;
    public double price;
    //不带返回值的方法
    public void call(String sName){
        System.out.println("给"+sName+"打电话");
    }
    public String call1(){
        return "打电话1";
    }
    public void sendMsg(String name,String text){
        System.out.println("给 "+name+" 发消息:"+text);
    }
}
